﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Patrick.Custom {
	/// <summary>
	/// Formatter 的摘要说明
	/// </summary>
	public class Formatter {
		public Formatter() {
			//
			// TODO: 在此处添加构造函数逻辑
			//
		}


		public static string lf2br(string str) {
			return str.Replace("\n", "<br />");
		}
	}
}